package com.css.fxfzfxqh.modules.lifelineEngineering.repository;

import com.css.fxfzfxqh.modules.lifelineEngineering.entity.EvaluationResults;
import com.css.fxfzfxqh.modules.lifelineEngineering.entity.SmxVectorEntity;

import java.util.List;

public interface EstimateRepository {
    List<String> getCenterPoint(String geom);

    void save(EvaluationResults entity);

    int getByTaskIdAndType(String id,Integer type);

    void deleteByTaskIdAndType(String id,Integer type);

    List<EvaluationResults> getListByTaskId(String id);

    void deleteByTaskId(String id);

    List<EvaluationResults> getListByTaskIdAndType(String taskId,Integer type);

    SmxVectorEntity getVectorByVersionId(String versionId,Integer type);

    String getExtentGeomByTaskIdAndType(String taskId,List<Integer> catalogNameList,String tableName);

    String getCenterGeomByTaskIdAndType(String taskId,List<Integer> catalogNameList,String tableName);

    void saveLine(EvaluationResults entity);

    List<EvaluationResults> getLineListByTaskIdAndType(String taskId, Integer type);

    List<EvaluationResults> getLineListByTaskId(String id);

    void deleteLineByTaskIdAndType(String id, Integer type);

    void deleteLineByTaskId(String id);

    List<String> getTypeListByTaskId(String taskId);

    int getLineByTaskIdAndType(String id, Integer type);
}
